package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.AccountDrawTask.AccountDrawRequest;
import com.smiier.skin.net.AccountDrawTask.AccountDrawResponse;
import com.smiier.skin.util.GlobalSettings;

/**
 * 提现申请
 * 
 * @author 杨文华
 * 
 */
public class AccountDrawTask extends
		NetTask<AccountDrawRequest, AccountDrawResponse> {

	public static class AccountDrawRequest extends ORequest {
		public String token;
		public String bank;
		public String card;
		public String name;
		public double cost;
		public String appname = Constant.APP_NAME;
	}

	public static class AccountDrawResponse extends OResponse {

	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Account.Draw";
		mRequestMethod = METHOD_GET;
	}

}
